package com.youlai.boot.factory.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 结算单明细视图对象
 *
 * @author youlaitech
 * @since 2025-07-06 15:40
 */
@Getter
@Setter
@Schema( description = "结算单明细视图对象")
public class SettlementItemsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;
    @Schema(description = "结算单ID")
    private Integer settlementId;
    @Schema(description = "结算单编号(冗余)")
    private String settlementNumber;
    @Schema(description = "款号")
    private String styleId;
    @Schema(description = "款式名称")
    private String styleName;
    @Schema(description = "颜色")
    private String color;
    @Schema(description = "尺码")
    private String size;
    @Schema(description = "数量")
    private Integer quantity;
    @Schema(description = "单价")
    private BigDecimal unitPrice;
    @Schema(description = "金额")
    private BigDecimal amount;
    @Schema(description = "生产日期")
    private LocalDate productionDate;
    @Schema(description = "产品图片URL")
    private String imageUrl;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "创建人ID")
    private Long createBy;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "修改人ID")
    private Long updateBy;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
